﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Uct_News.ascx.cs" Inherits="BatDongSan.Modules.Uct_News" %>
<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<!-- tin tuc -->
<div id="titlenav">
    <div class="navlink">
        <a href="/Default.aspx">Trang chủ</a>
    </div>
    <span>></span>
    <asp:Literal ID="ltrnav" runat="server"></asp:Literal>
    <div style="clear:both"></div>
</div>
<div class="content_is" style="border:solid 1px #A7A4A8">
    <div class="blockdanhsach">
        <div>
            <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="pager1" />
                </Triggers>
                <ContentTemplate>
                    <asp:DataList ID="dtlNews" runat="server" CellPadding="5" RepeatColumns="1" Width="100%" OnItemDataBound="dtlNews_ItemDataBound">
                        <ItemTemplate>
                            <div class="tincon">
                                <div class="img">
                                    <asp:Literal ID="ltrImg" runat="server"></asp:Literal>
                                </div>
                                <h4>
                                    <asp:HyperLink ID="hplSubject" runat="server"></asp:HyperLink>
                                    <asp:Literal ID="ltrNew" runat="server"></asp:Literal>
                                </h4>
                                <em>
                                    Ngày đăng: <%#  Convert.ToDateTime(Eval("PostDate")).ToString("dd/MM/yyyy")%>
                                </em><span>
                                    <asp:Label ID="lblNote" runat="server"></asp:Label></span>
                            </div>
                            <div class="linedot">
                            </div>
                        </ItemTemplate>
                    </asp:DataList>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
        <div class="cls">
        </div>
        <div style="padding: 10px 10px 10px 15px; line-height: 23px">
            <div align="right">
                <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="dtlNews" />
                    </Triggers>
                    <ContentTemplate>
                        <cc1:PagerV2_8 ID="pager1" runat="server" GenerateSmartShortCuts="false" OfClause="/"
                            OnCommand="mktpage_Command" PageClause="Page" PageSize="30" GenerateGoToSection="False"
                            GenerateFirstLastSection="true" CssClass="page" NextClause="Next" PreviousClause="Pre"
                            FirstClause="&amp;laquo;" LastClause="&amp;raquo;" />
                    </ContentTemplate>
                </asp:UpdatePanel>
            </div>
        </div>
    </div>
</div>
<!-- // tin tuc -->